<foreach name="arts" item="item">
    <div class="video-sub">
        <div class="video-wrap">
            <img src="__FORJS__/images/video1.png" alt="">
            <img src="__FORJS__/images/play.png" alt="">
            </div>
        <p class="video-title">{$item['title']}</p>
        <p class="video-details">{$item['synopsis']}</p>
        <div class="details">
            <p class="details-title">{$item['title']}</p>
            <div class="video-news">
                <p>{$item['time']}</p>
                <p>来源：<span>微知</span></p>
                <p>分类：<span>{$item['classify']}</span></p>
                </div>
            <div class="video-label">
                <foreach name="item['label']" item="label">
                    <a>{$label}</a>
                </foreach>
                </div>
            <p class="video-content">{$item['synopsis']}<a href="../video_preview?video_id={$item['id']}&user_login={$item['author']}" target="_blank">查看详情</a>
                </p>
            <p class="video-details-map btn-odd"><span class="icon-Preview green"></span><span>0</span></p>
            <p class="video-details-map"><span class="iconfont green">&#xe62c;</span><span>{$item['author']}</span></p>
            <if condition="$item['is_liked']==1">
            <p class="video-details-map details-btn bigwe_default_btn btn-odd golden"><span class="iconfont">&#xf010d;</span><span>0</span></p>
                <else />
            <p class="video-details-map details-btn bigwe_default_btn btn-odd"><span class="iconfont">&#xf010d;</span><span>0</span></p>
            </if>
            <if condition="in_array($item['id'], array_column(json_decode($my_video, TRUE), 'id'))">
            <p class="video-details-map details-btn bigwe_default_btn golden"><span class="iconfont">&#xe615;</span><span>加入收藏</span></p>
                <else />
            <p class="video-details-map details-btn bigwe_default_btn"><span class="iconfont">&#xe615;</span><span>加入收藏</span></p>
            </if>
            </div>
        </div>
</foreach>